package cn.promonkey.api.student.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.promonkey.core.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/** @author ninelock-ai */
@Data
@TableName("student")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Student extends BaseEntity { 
  /** 介绍 */
  @TableField(value = "introduce")
  private String introduce;
  /** 公司ID */
  @TableField(value = "business_id")
  private Long businessId;
  /** 专业 */
  @TableField(value = "major")
  private String major;
  /** 学生ID */
  @TableId(value = "student_id", type = IdType.AUTO)
  @TableField(value = "student_id")
  private Long studentId;
  /** 姓名 */
  @TableField(value = "student_name")
  private String studentName;
  /** 学号 */
  @TableField(value = "student_num")
  private String studentNum;
  /** 班级 */
  @TableField(value = "tas_class")
  private String tasClass;
  /** 年级 */
  @TableField(value = "tas_grade")
  private String tasGrade;
  /** 电话 */
  @TableField(value = "telephone")
  private String telephone;
  /** 用户ID */
  @TableField(value = "user_id")
  private Long userId;
}
